﻿<style>
    .page {
        position:relative;
        height:100%;
    }
    .page.article {
        font-size: 0.9em;
        background-color: #FFFFFF;
    }

    .adress:first-child {
        padding-top: 0.1px;
    }

    .adress:last-child {
        padding-bottom: 10px;
    }

    .adress .weui-cells:last-child:before {
        border-top: none;
    }

    .adress .weui-cells:first-child {
        margin-top: 10px;
    }
    .bottomBtn {
        position: fixed;
        left: 0px;
        bottom: 0px;
        width: 100%;
        z-index: 2000;
    }
    .weui-cells__title2 {
        padding-left: 5px;
        margin-bottom: .1em;
        background-color: #FFFBE6;
        color: #999;
        font-size: 14px;
    }
</style>
<div class="page article js_show" ng-controller="AddressCtrl">
    <div style="background-color:#eee">
        <div class="adress" ng-repeat="item in address">
            <div class="weui-cells">
                <div class="weui-cell" style="padding-bottom:5px">
                    <div class="weui-cell__bd">
                        <p>{{item.name}}</p>
                    </div>
                    <div class="weui-cell__ft">{{item.tel}}</div>
                </div>
                <div class="weui-cell__bd" style="padding-left:15px">
                    <p style="font-size:13px; padding-bottom:5px">{{item.addressName}}</p>
                </div>
            </div>
            <div class="weui-cells weui-cells_checkbox" style="margin-top:0px;">
                <div class="weui-cell__ft">
                    <div class="weui-flex">
                        <div class="weui-flex__item">
                            <label class="weui-cell weui-check__label">
                                <div class="weui-cell__hd">
                                    <input type="radio" class="weui-check" name="address" ng-value="item.id" ng-model="selectAddress">
                                    <i class="weui-icon-checked"></i>
                                </div>
                                <div class="weui-cell__bd" style="text-align:left">
                                    <p style="font-size:13px">设为默认地址</p>
                                </div>

                            </label>
                        </div>
                        <div style="margin-top:8px;padding-right:10px;">
                            <div class="weui-flex">
                                <div class="weui-flex__item" style="text-align:right"><a href="javascript:;" class="weui-btn weui-btn_mini weui-btn_default" ui-sref="wx.address_edit">编辑</a></div>
                                <div class="weui-flex__item" style="text-align:right"><a href="javascript:;" class="weui-btn weui-btn_mini weui-btn_default" ng-click="btnDeleteAddress_click(item)">删除</a></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottomBtn">
        <a href="javascript:;" class="weui-btn weui-btn_primary no-radius" ui-sref="wx.address_add">新增地址</a>
    </div>

</div>

